﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace BD
{
    public partial class StartForm : Form
    {
        public StartForm()
        {
            this.Text = "Bot Analizer";
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            BotDetector bd = new BotDetector();
            double botnr = 0;
            botnr = bd.Analyze(textBox1.Text);
            label2.Text = botnr.ToString();
        }
    }
}
